package com.cpos.pay.payserver.service;

import com.cpos.pay.payserver.entity.OrderInfo;

import java.util.HashMap;
import java.util.Map;

/**
 * @auth Leiwenlong
 * @since 2020/12/9
 */
public class PayServiceImpl implements PayService {

    final Map<Object, Object> map = new HashMap<>();

    @Override
    public Map<Object, Object> BuyAliPayInH5(OrderInfo orderInfo) {
        if(orderInfo.getOrderId().equals("xx66")){
            map.put("order","xx1");
        }
        return map;
    }

    @Override
    public Map<Object, Object> BuyAliPayInApp(OrderInfo orderInfo) {
        return map;
    }

    @Override
    public Map<Object, Object> BuyWxPayInApp(OrderInfo orderInfo) {
        return map;
    }

    @Override
    public Map<Object, Object> BuyWxPayInH5(OrderInfo orderInfo) {
        return map;
    }

    @Override
    public Map<Object, Object> BuyWxPayApplets(OrderInfo orderInfo) {
        return map;
    }

    @Override
    public Map<Object, Object> BuyWxPayPublicNum(OrderInfo orderInfo) {
        return map;
    }
}
